# Copyright (c) 2018 Presto Labs Pte. Ltd.
# Author: inkyu

from enum import IntEnum


class FeedCheckerState(IntEnum):
  INVALID = 0
  INITIALIZING = 1
  READY = 2

  @property
  def ready(self):
    return self == FeedCheckerState.READY

  @property
  def invalid(self):
    return self == FeedCheckerState.INVALID
